#!/bin/sh
cp /var/www/html/upload/shenjibao/update/insert_shenji.php /var/www/html/upload/insert_shenji.php
cp /var/www/html/upload/shenjibao/update/insert_shenji_commit.php /var/www/html/upload/insert_shenji_commit.php
cp /var/www/html/upload/shenjibao/update/select_shenji.php /var/www/html/upload/select_shenji.php
cp /var/www/html/upload/shenjibao/update/way_shenji.php /var/www/html/upload/way_shenji.php
cp /var/www/html/upload/shenjibao/update/about_way_commit.php /var/www/html/upload/about_way_commit.php
cp /var/www/html/upload/shenjibao/update/ck_shenji.php /var/www/html/upload/ck_shenji.php
cp /var/www/html/upload/shenjibao/update/interface.php /var/www/html/upload/interface/interface.php
cp /var/www/html/upload/shenjibao/update/upload.pl /var/www/html/upload/jiaoben/upload.pl
cp /var/www/html/upload/shenjibao/update/shenji.pl /var/www/html/upload/jiaoben/shenji.pl
cp /var/www/html/upload/shenjibao/update/cz.pl /var/www/html/upload/jiaoben/cz.pl
cd /var/www/html/upload/jiaoben/
#添加定时任务
(crontab -l ; echo "30 1 * * * cd /var/www/html/upload/jiaoben/;./cz.pl>/dev/null") | crontab
chmod 777 upload.pl
chmod 777 shenji.pl
chmod 777 cz.pl
echo "100%"